// 身份验证工具模块

export const getToken = () => {
  return localStorage.getItem('xmall-token');
};

export const setToken = (token) => {
  localStorage.setItem('xmall-token', token);
};

export const removeToken = () => {
  localStorage.removeItem('xmall-token');
};